package com.blank.gps;

/**
 * Author: blank
 * Date: 2022/3/14 13:51
 * Description:
 */
public class LocationInfo {
    String longitude;
    String latitude;


    public LocationInfo(String longitude, String latitude) {
        this.longitude = longitude;
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"longitude\":\"")
                .append(longitude).append('\"');
        sb.append(",\"latitude\":\"")
                .append(latitude).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
